﻿@model RiderShop.Mobile.Modle.Home.HonePromotionViewModel
@foreach(var group in Model.GroupList)
{
    <ul data-role="listview"  class="mb10" data-inset="true" >
        <!--今日特价-->
        <li data-role="list-divider"><h1 class="white">@group.CategoryName</h1></li>
        @foreach(var item in group.Products)
        {
            <li data-theme="none" data-icon="false">
                <a class="product-listlink" href="~/Product/ProductDetail?prd=@item.ProductId">
                    <div class="mb5">
                        <ul>
                            <li class="pList-item">
                                <div class="num_warp_list_top_white">
                                    <div class="num_warp_list_pic_mall ">
                                        <div class="iconPromB" data-theme="none">
                                            @if (!string.IsNullOrEmpty(@item.PromotionTypeStr))
                                            {
                                                <img src="@item.PromotionTypeIcon" alt="" />
                                            }                                            
                                        </div>
                                        <img alt="" class="prdImage"  src="@item.ActualImageUrl" />
                                    </div>
                                    <div class="num_warp_list_name_mall ">
                                        <h3 class="f14 normalwrap">@item.Title</h3>
                                        <div class="price mb10">￥@item.UnitPrice</div>
                                        <div class="koubei ml5">
                                            <span class="fl">已有(@item.ReviewCount)人评价</span>
                                            <span class="rating fl"><span style="width: @item.ReviewCount%" class="value"></span></span>
                                        </div>
                                    </div>
                                </div>
                            </li>
                            
                        </ul>
                    </div>
                </a>
            </li>
        }
    </ul>
} 
